<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8" />
    <title>用户登录</title>
    <!-- 引入公共样式 -->
    <link rel="stylesheet" href="/css/common.css">
    <!-- 引入登录页样式 -->
    <link rel="stylesheet" href="/css/login.css">
</head>
<body>

<div class="login-container">
    <h2>用户登录</h2>
    <form action="/user/login" method="post">
        <label for="username">用户名：</label>
        <input type="text" id="username" name="username" required />

        <label for="password">密码：</label>
        <input type="password" id="password" name="password" required />

        <!-- 新增记住我选项 -->
        <label>
            <input type="checkbox" name="rememberMe"> 记住我
        </label>

        <input type="submit" value="登录" />
    </form>
    <div class="extra-links">
        <a href="#">忘记密码？</a> |
        <a href="/user/register">注册账号</a>
    </div>
</div>



</body>
</html>
